﻿@using Telerik.Web.Mvc.UI
<!DOCTYPE html>
<html>
<head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <title>@ViewBag.Title</title>
    <link rel="SHORTCUT ICON" href="@Links.Content.favicon_ico" type="image/x-icon" />
    <link rel="icon" href="@Links.Content.favicon_ico" type="image/ico" />
    @Content.Css(Links.Content.Main_css, Url)
    @Content.Css(Links.Content.core.ui_css, Url)
    @Content.Css(Links.Content.link_icons.screen_css, Url)
    @Content.Css(Links.Content.themes.@base.jquery_ui_css, Url)
    @Content.Css(Links.Content.themes.@base.jquery_ui_datepicker_css, Url)
    @(Html.Telerik().StyleSheetRegistrar()
           .DefaultGroup(group => group.Add("telerik.common.min.css")
                                       .Add("telerik.office2010silver.min.css"))
    )
    @RenderSection("css", false)
</head>
<body>
	<div id="maincontainer">
		<div id="topsection">
			<div class="innertube">@Html.Partial(MVC.Shared.Views._Header)</div>
		</div>

		<div id="contentwrapper">
			<div id="contentcolumn">
				<div class="innertube">@RenderBody()</div>
			</div>
		</div>

		<div id="leftcolumn">
			<div class="innertube">@Html.Partial(MVC.Shared.Views._Menu)</div>
		</div>
	</div>

	<div id="footer">@Html.Partial(MVC.Shared.Views._Footer)</div>

    @Content.Script(Links.Scripts.jquery_1_7_1_min_js, Url)
    @Content.Script(Links.Scripts.jquery_validate_1_9_min_js, Url)
    @Content.Script(Links.Scripts.jquery_validate_unobtrusive_min_js, Url)
    @Content.Script(Links.Scripts.jquery_ui_1_8_16_min_js, Url)
    @Content.Script(Links.Scripts.jquery_ui_datepicker_es_js, Url)
    <script type="text/javascript">
        $(document).ready(function () {
            $.datepicker.setDefaults($.datepicker.regional['es-Es']);
            $(".date-picker").datepicker({ defaultDate: +1 });
            $(".date-picker").datepicker("setDate", "+0");
        });
    </script>
    @(Html.Telerik().ScriptRegistrar()
        .jQuery(false)
        .jQueryValidation(false)
        .Globalization(true)
    )
    @RenderSection("script", false)
    
</body>
</html>
